import fetch from '@/common/utils/http'

/* 保存规则 */
export const saveRules = (data: any) =>
  fetch({
    url: '/crm/action/config/customer/basic',
    method: 'POST',
    data
  })

/* 获取规则 */
export const getRules = () =>
  fetch({
    url: '/crm/action/config/customer/basic',
    method: 'GET',
    params: {}
  })
